package com.backstage.pojo.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
public class SysUser {
  @JsonSerialize(using= ToStringSerializer.class)
  private Long id;
  private String username;
  private String password;
  private String nickname;
  private String phone;
  private String email;
  @JsonSerialize(using= ToStringSerializer.class)
  private Long birthday;
  @JsonSerialize(using= ToStringSerializer.class)
  private Long sex;
  @JsonSerialize(using= ToStringSerializer.class)
  private Long status;
  @JsonSerialize(using= ToStringSerializer.class)
  private Long createTime;
  @JsonSerialize(using= ToStringSerializer.class)
  private Long updateTime;


}
